﻿using RpcSync.Model;
using RpcSync.Model.DB;

namespace RpcSync.Collect
{
    public interface IAccreditTokenCollect
    {
        void Add(AccreditTokenModel add);
        bool Delete(Guid id);
        AccreditTokenDatum Get(Guid id);
        Guid[] GetSubId(Guid accreditId);
        bool Set(Guid accreditId, AccreditTokenSet set);
        void SetOverTime(Guid accreditId, DateTime overTime);
    }
}